<?php namespace App\Http\Controllers;

use Log;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Config;
use Qiniu\Auth;
use App\Models\QuickMsg;
use App\Utils\ReturnUtils;

class ChatController extends Controller
{
    //获取用户信息
    public function getQuickMsgList(Request $request) {
        $returnUtils = new ReturnUtils($request);
        $data = with(new QuickMsg($request))->getQuickMsgList();
        if(!$data){
            return $returnUtils->returnError($returnUtils->return['ERROR_SOME_GETLIST']);
        }
        return $returnUtils->returnOk($returnUtils->return['SUCCESS'], $data);
    }
    
}
